#!/usr/bin/gnuplot
set encoding iso_8859_1
set term pdf enhanced color solid size 4in, 4in

#============================
#F(Q_LC), F(Q_NC), F(Q_LN)
#============================
#set xlabel "Time Steps"
#set x2label "Free Energy (K_bT)"
#set x2tics
#set ylabel "Q_{Aspe}"
#set output "FQAspe.pdf"
#p 'QPLU.smth' u 1:2 w l ti "Q_{Aspe}",#  'QPLU.smth.wam2' u 2:1 w l axis x2y1 lw 4 lt 7 ti "F({Q_{Aspe}})"
#
#set ylabel "Q_{Ospe}"
#set output "FQOspe.pdf"
#p 'QPLU.smth' u 1:3 w l ti "Q_{Ospe}",#  'QPLU.smth.wam3' u 2:1 w l axis x2y1 lw 4 lt 7 ti "F({Q_{Ospe}})"
#
#set ylabel "Q_{Hspe}"
#set output "FQHspe.pdf"
#p 'QPLU.smth' u 1:4 w l ti "Q_{Hspe}",#  'QPLU.smth.wam4' u 2:1 w l axis x2y1 lw 4 lt 7 ti "F({Q_{Hspe}})"
#
#set ylabel "Q_{C0L2H}"
#set output "FQC0L2H.pdf"
#p 'QPLU.smth' u 1:5 w l ti "Q_{C0L2H}",#  'QPLU.smth.wam5' u 2:1 w l axis x2y1 lw 4 lt 7 ti "F({Q_{C0L2H}})"
#
#============================
#F(Q_LC,Q_NC), F(Q_LC,Q_ATP), F(Q_NC,Q_AMP)
#============================
set pm3d at bs
set palette color
#set palette model CMY
set palette defined ( 0 "white", 1 "blue", 2 "cyan", 3 "green", 4 "red", 5 "orange", 6 "yellow")
set view map
#set cblabel 'Energy Bar' textcolor lt 3
set cbrange [0:45]

set title "Distance map of the natvie bound DCL1-A"
set xlabel "Protein Residue Index"
set ylabel "Protein Residue Index"
set xrange [0.5:71.5]
set yrange [0.5:71.5]
set output "Distances.pdf"
splot "distance.list" using 1:2:3 w p pt 5 ps 0.3 palette noti 
#set output "nDistances.pdf"
#splot "nativeDistance.dat" using 1:2:3 w p pt 5 ps 0.3 palette noti 

